package com.personal.gateway.flinkAllCommand.configurationOption.configurationGenerator;

import com.personal.gateway.flinkAllCommand.configurationOption.ConfigurationOption;
import com.personal.gateway.flinkAllCommand.configurationOption.configurationType.ConfigurationTypeString;

/**
 * @author BigHead
 * @date 2022/1/11 10:58
 * @description ConfigurationGeneratorString
 */
public class ConfigurationGeneratorString extends AbstractConfigurationGenerator<String, ConfigurationTypeString> {

    // TODO 还不完全
    @Override
    public String configurationString(ConfigurationOption<String, ConfigurationTypeString> configurationOption) {
        return configurationOption.getConfigurationKey() + "=" + configurationOption.getConfigurationType().getValue();
    }
}
